using System.Data;
using VanTaiData;
using VanTaiProperty;
namespace VanTaiBLL
{
    public class clsTMUnit_VehicleBusiness
    {
        public static clsTMUnit_VehicleController cls = new clsTMUnit_VehicleController();

        #region[Get-Data]
        public DataTable BindGirdTMUnit_Vehicle()
        {
            return cls.BindGirdTMUnit_Vehicle();
        }
        public DataTable BindGirdTMUnit_Vehicle_Detail_Edit(int id)
        {
            return cls.BindGirdTMUnit_Vehicle_Detail_Edit(id);
        }
        #endregion

        #region[Insert-Update-Delete]
        public static bool InsertTMUnit_Vehicle(clsTMUnit_VehicleProperty obj)
        {
            return cls.InsertTMUnit_Vehicle(obj);
        }
        public static bool UpdateTMUnit_Vehicle(clsTMUnit_VehicleProperty obj)
        {
            return cls.UpdateTMUnit_Vehicle(obj);
        }
        public static bool DeleteTMUnit_Vehicle(int id)
        {
            return cls.DeleteTMUnit_Vehicle(id);
        }
        public bool TMUnit_Vehicle_Check_Delete_TMType_Vehicle(int id)
        {
            return cls.TMUnit_Vehicle_Check_Delete_TMType_Vehicle(id);
        }
        #endregion

        #region[Search]
        public DataTable Search(string keywords)
        {
            return cls.Search(keywords);
        }
        #endregion
    }
}